module("races")

NIGHTELF = {
	innate = {
		strength = 17,
		agility = 25,
		stamina = 19,
		intellect = 20,
		spirit = 20,
		dodge = 1,
		nature_resist = 10,
	},
	classes = {
		DRUID = true,
		HUNTER = true,
		PRIEST = true,
		ROGUE = true,
		WARRIOR = true,
	},
}

TAUREN = {
	innate = {
		strength = 25,
		agility = 15,
		stamina = 22,
		intellect = 15,
		spirit = 22,
		nature_resist = 10,
	},
	auras = {
		{ type = "modifier", attribute = "maxhealth", value = 5 },
		{ type = "skill", skill = "herbalism", value = 15 },
	},
	classes = {
		DRUID = true,
		HUNTER = true,
		SHAMAN = true,
		WARRIOR = true,
	},
}

GNOME = {
	innate = {
		strength = 15,
		agility = 23,
		stamina = 19,
		intellect = 24,
		spirit = 20,
		arcane_resist = 10,
	},
	auras = {
		{ type = "modifier", attribute = "intellect", value = 5 },
		{ type = "skill", skill = "engineering", value = 15 },
	},
	classes = {
		MAGE = true,
		ROGUE = true,
		WARLOCK = true,
		WARRIOR = true,
	},
}

DWARF = {
	innate = {
		strength = 22,
		agility = 16,
		stamina = 23,
		intellect = 19,
		spirit = 19,
		frost_resist = 10,
	},
	auras = {
		{ type = "stat", attribute = "rangedcrit", value = 1, restrict = { ranged = "gun" }, }
	},
	classes = {
		HUNTER = true,
		PALADIN = true,
		PRIEST = true,
		ROGUE = true,
		WARRIOR = true,
	},
}

TROLL = {
	innate = {
		strength = 21,
		agility = 22,
		stamina = 21,
		intellect = 16,
		spirit = 21,
	},
	auras = {
		{ type = "modifier", attribute = "healthreg", value = 10 },
		{ type = "modifier", attribute = "healthreg_fight", reference = "healthreg", multiplier = 0.1 },
		{ type = "stat", attribute = "damage_mod", value = 5, restrict = { target_type = "beast" }, },
		{ type = "stat", attribute = "rangedcrit", value = 1, restrict = { ranged = {"bow", "thrown" } }, },
	},
	classes = {
		HUNTER = true,
		MAGE = true,
		PRIEST = true,
		ROGUE = true,
		SHAMAN = true,
		WARRIOR = true,
	},
}

UNDEAD = {
	innate = {
		strength = 19,
		agility = 18,
		stamina = 21,
		intellect = 18,
		spirit = 25,
		shadow_resist = 10,
	},
	classes = {
		MAGE = true,
		PRIEST = true,
		ROGUE = true,
		WARLOCK = true,
		WARRIOR = true,
	},
}

DRAENEI = {
	innate = {
		strength = 21,
		agility = 17,
		stamina = 19,
		intellect = 21,
		spirit = 22,
		shadow_resist = 10,
	},
	auras = {
		{ type = "skill", skill = "jewelcrafting", value = 5 },
	},
	classes = {
		HUNTER = true,
		MAGE = true,
		PALADIN = true,
		PRIEST = true,
		SHAMAN = true,
		WARRIOR = true,
	},
}

ORC = {
	innate = {
		strength = 23,
		agility = 17,
		stamina = 22,
		intellect = 17,
		spirit = 23,
	},
	auras = {
		{ type = "stat", attribute = "expertise", value = 5, restrict = { mainhand = "axe" }, },
		{ type = "stat", attribute = "stun_resist", value = 15, },
		{ type = "stat", attribute = "pet_damage_mod", value = 5, restrict = { class = { "hunter", "warlock" } }, },
	},
	classes = {
		HUNTER = true,
		ROGUE = true,
		SHAMAN = true,
		WARLOCK = true,
		WARRIOR = true,
	},
}

BLOODELF = {
	innate = {
		strength = 14,
		agility = 22,
		stamina = 18,
		intellect = 24,
		spirit = 19,
	},
	auras = {
		{ type = "skill", skill = "enchanting", value = 10 },
		{ type = "stat", attribute = "nature_resist", value = 5 },
		{ type = "stat", attribute = "frost_resist", value = 5 },
		{ type = "stat", attribute = "fire_resist", value = 5 },
		{ type = "stat", attribute = "arcane_resist", value = 5 },
		{ type = "stat", attribute = "shadow_resist", value = 5 },
	},
	classes = {
		HUNTER = true,
		MAGE = true,
		PALADIN = true,
		PRIEST = true,
		ROGUE = true,
		WARLOCK = true,
	},
}

HUMAN = {
	innate = {
		strength = 20,
		agility = 20,
		stamina = 20,
		intellect = 20,
		spirit = 21,
	},
	auras = {
		{ type = "stat", attribute = "reputation_mod", value = 10 },
		{ type = "stat", attribute = "expertise", value = 5, restrict = { mainhand = {"mace", "sword", } }, },
		{ type = "modifier", attribute = "spirit", value = 5 },
	},
	classes = {
		MAGE = true,
		PALADIN = true,
		PRIEST = true,
		ROGUE = true,
		WARLOCK = true,
		WARRIOR = true,
	},
}
